@extends('public.base')
@section('body')
<style>
    .layui-unselect dl {
        max-height: 200px;
    }

    html {
        background-color: #fff;
    }
</style>
<div class="layui-row">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-form">
                <table class="layui-table">
                    <tbody>
                    <tr>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;" style="width:100px!important;">订单号</td>
                        <td><?php echo $data['username']; ?><?php echo $data['order_sn']; ?></td>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">发布者</td>
                        <td>{{$data->makeOrderUser->truename}}</td>
                    </tr>
                    <tr>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">发布手机号</td>
                        <td>{{$data->makeOrderUser->mobile}}</td>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">行业</td>
                        <td><?php echo $data['class_name']; ?></td>
                    </tr>

                    <tr>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">类型</td>
                        <td><?php if($data['order_type']==1){ echo "现在";} ?><?php if($data['order_type']==2){ echo "预约";} ?><?php if($data['order_type']==3){ echo "1对1";} ?></td>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">服务方式</td>
                        <td><?php echo $data['is_door']==1?'上门':'上门'; ?></td>
                    </tr>
                    <tr>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">服务时间</td>
                        <td><?php echo $data['start_time']; ?></td>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">总赏金</td>
                        <td><?php echo $data['all_amount']; ?></td>
                    </tr>
                    <tr>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">创建时间</td>
                        <td><?php echo $data['create_time']; ?></td>
                        <td bgcolor="#F8F8F8" style="font-weight:bold;">状态</td>
                        <td><?php echo $data['order_status_name']; ?></td>
                    </tr>

                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

@stop